<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

      <title>OUR | Login 1</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.css" rel="stylesheet">

    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">

</head>

<body class="gray-bg">

    <div class="loginColumns animated fadeInDown">
        <div class="row">

          <div class="col-md-6">
                <h2 class="font-bold">Welcome to our emailbox </h2>
              </p>
              <img src="img/p4.jpg" alt="image" width="397" class="img-circle" style="width:340px" /></div>
            <div class="col-md-6">
                <div class="ibox-content">
				 <span   class="btn  block full-width m-b">come here</span>
                    <form class="m-t" role="form" action="/Mail/DoLogin" method="get">
                        <div class="form-group">
                            <input name="username" type="email" class="form-control" placeholder="username" required>
                        </div>
                        <div class="form-group">
                            <input name="password" type="password" class="form-control" placeholder="password" required>
                        </div>
						 <%
          				  if(request.getAttribute("result")!=null){
            				out.println("<p class='text-danger'>"+request.getAttribute("result")+"</p>");
      				      }
       					     %>
                        <button type="submit" class="btn btn-primary block full-width m-b">login</button>
                        <a href="forgot_password.html#"><small> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 忘记密码</small></a> <a class="btn btn-sm btn-primary btn-block" href="register.html">regesit</a>
                    </form>
                    
                </div>
            </div>
        </div>
        <hr/>
        

</body>
          
</html>